home *** CD-ROM | disk | FTP | other *** search
/ HTBasic 9.3 / HTBasic 9.3.iso / 83win / data1.cab / DLL_Toolkit / Source / HTBTcpip / comdll.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-03-02  |  1.6 KB  |  58 lines

  1. /*****************************************
  2. HTBtcpip.dll
  3.  
  4. Copyright TransEra Corporation 1999
  5.  
  6. comdll.h
  7. ****************************************/
  8. #if !defined(AFX_COMDLL_H__D9A35754_5405_11D3_8BB0_00105AC66D91__INCLUDED_)
  9. #define AFX_COMDLL_H__D9A35754_5405_11D3_8BB0_00105AC66D91__INCLUDED_
  10.  
  11. #if _MSC_VER > 1000
  12. #pragma once
  13. #endif // _MSC_VER > 1000
  14.  
  15. #ifndef __AFXWIN_H__
  16.     #error include 'stdafx.h' before including this file for PCH
  17. #endif
  18.  
  19. #include "resource.h"        // main symbols
  20.  
  21. int ListenThread();
  22.  
  23. #define BUFFERSIZE            128            // Default max buffer size
  24. #define HOSTNAMESIZE        128            // Default max host name size
  25. #define DEFAULT_PORT        2609        // Default sending/ recieving port
  26. #define OFFSET                0x202        // Hex Offset
  27. #define L_TIMEOUT            5            // Listening timeout
  28. #define BSC_SIG_IT            15            // Trys to SIgnal HTBasic
  29. #define PCKT_MIN_SZ            3            // Minimun TCP/IP packet size 
  30.  
  31.  
  32. class CComdllApp : public CWinApp
  33. {
  34. public:
  35.     CComdllApp();
  36.  
  37. // Overrides
  38.     // ClassWizard generated virtual function overrides
  39.     //{{AFX_VIRTUAL(CComdllApp)
  40.     public:
  41.     virtual BOOL InitInstance();
  42.     //}}AFX_VIRTUAL
  43.  
  44.     //{{AFX_MSG(CComdllApp)
  45.         // NOTE - the ClassWizard will add and remove member functions here.
  46.         //    DO NOT EDIT what you see in these blocks of generated code !
  47.     //}}AFX_MSG
  48.     DECLARE_MESSAGE_MAP()
  49. };
  50.  
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53.  
  54. //{{AFX_INSERT_LOCATION}}
  55. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  56.  
  57. #endif // !defined(AFX_COMDLL_H__D9A35754_5405_11D3_8BB0_00105AC66D91__INCLUDED_)
  58.